﻿using System;

namespace Sustainalytics.Admin.CRMSynchronization.Service
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {

            if (Environment.UserInteractive)
            {
                ProgramConsole.Start();
            }
            else
            {
                ProgramWindowsService.Start();
            }
        }
    }
}
